/*
Author : 
	aziza yasser: 15898607
	sayli hidir: 06061308
*/

#ifndef DEQUE_H
#define DEQUE_H


#include "ListeEl.h"
#include "Cell.cpp"
#include "BaseEl.cpp"
#include "ListeEl.cpp"

using namespace std;

class Deque
{
	private:
		POSITION start;
		POSITION end;
		int anz;
		
		void eraseAll();
		void copyAll(const Deque& ref);
	public:

		Deque();
		Deque(const Deque& ref);
		~Deque();
		
		void PushFront(POSITION q);
		void PopFront(void);
		void PushBack(POSITION q);
		void PopBack(void);
		void display();

};

#endif

